import 'package:flutter/material.dart';
import 'package:flutter/services.dart';


class RouterSecondPage extends StatelessWidget {
  final SystemUiOverlayStyle _style = SystemUiOverlayStyle(statusBarColor: Colors.transparent);
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(_style);
    // TODO: implement build
    return RouterSecondStatefulWidget();
  }
}

class RouterSecondStatefulWidget extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return _RouterSecondState();
  }
}

class _RouterSecondState extends State<StatefulWidget> {

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        leading: IconButton(icon: Icon(Icons.arrow_back),color: Colors.white,onPressed: (){
          Navigator.pop(context);
        },),
        title: Text("RouterSecond Page"),
      ),
      body: null,
    );
  }
}